<?php
namespace app\api\controller;

use think\Controller;
use think\Db;
use app\api\model\News;
use app\api\model\Common;
use app\api\model\Form;

class Home extends Index
{
    public function trading_num(){
        $where['status']=1;
        $where['is_show']=1;
        $res=Db::name('market_trading')->where()->group('category_id')->select();
    }
}